/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.spms.service.dao;

import com.wisnu.spms.service.entity.DbBilling;
import com.wisnu.spms.service.entity.DbCashlog;
import com.wisnu.spms.service.entity.DbPayment;
import java.util.List;

/**
 *
 * @author Wisnu Wardoyo
 */
public interface DbPaymentDao {

    public void insertPayment(DbPayment dbPayment,DbCashlog dbCashlog) throws Exception;

    public List<DbPayment> getPayments() throws Exception;

    public List<DbPayment> getPaymentByBilling(DbBilling billing) throws Exception;

}
